package edu.sctu.zhangwang.month201505.day20150526;

/**
 * Created by Administrator on 2015/5/25 0025.
 */
public class People {
    private String name;
    private String number;
    private int age;
    private String sex;

    public People() {
    }

    //    public People(String name) {
//        this.name = name;
//        this.number = number;
//        this.age = age;
//        this.sex = sex;
//    }
    public void setName(String name){
        this.name = name;
    }
    public  String getName(){
        return name;
    }
    public void setNumber(String name){
        this.name = name;
    }
    public  String getNumber(){
        return name;
    }
    public void printInfo(){
        System.out.println("\t\t******基本信息******");
        System.out.print("姓名：" + name);
        System.out.print("\t学号：" + number);
        System.out.print("\t年龄：" + age);
        System.out.println("\t性别：" + sex);
    }
}
